﻿namespace MicroCloud.Systems
{
    public interface IFileActionRecordStore<TFileActionRecord> where TFileActionRecord : class
    {
        OperationResult AddActionRecord(TFileActionRecord entity);

        Task<OperationResult> AddActionRecordAsync(TFileActionRecord entity, CancellationToken cancellationToken = new CancellationToken());
    }
}